package com.ctshk.rpc.order.airexpress.service;

import com.ctshk.common.dto.Result;
import com.ctshk.rpc.order.airexpress.req.AirportExpressOrderRefundApprovalReq;

/**
 * <p>
 * 机场快线退款记录 服务类
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-02-23
 */
public interface IAirportExpressOrderRefundService {

    /**
     * 删除退款记录
     * @param id
     * @param userId
     * @return
     */
    int delete(Long id, Long userId);

    /**
     * 审批
     * @param req
     * @return
     */
    Result approval(AirportExpressOrderRefundApprovalReq req);

    /**
     * 确认退款(财务-内部调用)
     * @param refundNumber
     * @return
     */
    Result confirmRefund(String refundNumber, Long userId);
}
